#!/bin/bash
#
# Run Rust lints: fmt, clippy and udeps.

set -e

pushd rust

echo "Check code formatting"
cargo fmt --check

echo "Check Clippy warnings"
cargo clippy -- -D warnings

popd
